package com.wzs.setting.service;

import com.wzs.exception.LoginException;
import com.wzs.setting.domain.Author;
import com.wzs.setting.domain.Readr;
import com.wzs.vo.PaginationVO;

import java.util.HashMap;

public interface AuthorService {


    Author login(String username, String password) throws LoginException;

    PaginationVO<Readr> pageList(HashMap<String, Object> map);

    Readr getReaderList(String id);

    boolean delete(String[] ids);

    boolean register(Author author);

}
